using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace ERP.ERPSystem.ProductionSystem.Dto
{
    /// <summary>
    /// 生产系统-排班管理-班次详情
    /// </summary>
    public class ShiftDetailDTO : EntityDto<int>
    {
        /// <summary>
        /// 排班计划ID
        /// </summary>
        public int ShiftplanningId { get; set; }
        
        /// <summary>
        /// 序号
        /// </summary>
        public int Sequence { get; set; }
        
        /// <summary>
        /// 班次名称
        /// </summary>
        [Required(ErrorMessage = "班次名称不能为空")]
        public string ShiftName { get; set; }
        
        /// <summary>
        /// 开始时间
        /// </summary>
        [Required(ErrorMessage = "开始时间不能为空")]
        public string StartTime { get; set; }
        
        /// <summary>
        /// 结束时间
        /// </summary>
        [Required(ErrorMessage = "结束时间不能为空")]
        public string EndTime { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
} 